﻿using System;
using System.Collections.Generic;

namespace Max.PH5_2008A.ShoppingCode.Domain;

/// <summary>
/// 商品模块 - 商品SPU表
/// </summary>
public partial class TbProductSpu
{
    /// <summary>
    /// SPU主键
    /// </summary>
    public Guid Id { get; set; }

    /// <summary>
    /// 产品编码
    /// </summary>
    public string? Code { get; set; }

    /// <summary>
    /// 产品名称
    /// </summary>
    public string? Name { get; set; }

    /// <summary>
    /// 品牌ID
    /// </summary>
    public Guid? BrandId { get; set; }

    /// <summary>
    /// 分类Id
    /// </summary>
    public Guid? CategoryId { get; set; }

    /// <summary>
    /// 主图
    /// </summary>
    public string? MasterImage { get; set; }

    /// <summary>
    /// 产品描述
    /// </summary>
    public string? Description { get; set; }

    /// <summary>
    /// 创建日期
    /// </summary>
    public DateTime? CreatedTime { get; set; } = System.DateTime.UtcNow;

    /// <summary>
    /// 创建人
    /// </summary>
    public string? CreatedBy { get; set; }

    /// <summary>
    /// 更新时间
    /// </summary>
    public DateTime? UpdateTime { get; set; }

    /// <summary>
    /// 更新人
    /// </summary>
    public string? UpdateBy { get; set; }
}
